POV-Ray : Newsgroups : povray.beta-test : Ground fog : Ground fog Server Time
30 Jul 2024 14:30:02 EDT (-0400)
  Ground fog  
From: Philippe Debar
Date: 25 Oct 2001 18:24:35
Message: <3bd89123@news.povray.org>
/*
Sorry I do not have time to write a proper bug report...

Problem (?) with ground fog = fog_type 2

default value for fog_alt is 0 gives very strange results. No wonder when
you see the formula in the doc, where there is a division by fog_alt.
Although the doc very clearly says you should specify a value for fog_alt,
it does not warn about these strange results, neither does the parser react
in any way.

Should it not be specified in the doc, or the default value changed ?

I guess this is probably old well known stuff, just wanted to make sure.

Very small scene follows. Just comment cameras to see various effects.



Povingly,

Philippe


Sys info :
POV-Ray 3.5 b6
Win 2k pro sp2
Ahtlon 1.2 GHz
512 MB DDR




*/

#version 3.5;

#global_settings{assumed_gamma 1}

#background{rgb <0,.5,1>}

camera{location -1*y} // red in the upper half
camera{location 0*y} // everything grey
camera{location 0.4*y} // everything grey with a brighter horizontal line
camera{location .5*y} // lower half grey
camera{location 1*y} // red in lower half


fog {
  fog_type 2
  /*fog_alt 0
  fog_offset 0*/
  color rgb <0,1,0>
  distance 80
}

// eof


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.